package la.bbs558.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
/**
 * 用户留存统计表(UserVisitRetention)表实体类
 *
 * @author weihanmin
 * @since 2024-01-12 16:25:09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class UserVisitRetention extends Model<UserVisitRetention> {
    
    /**
     * 主键id
     */
    private Long id;
    
    /**
     * 次日留存
     */
    private Integer count2 = 0;
    
    /**
     * 3日留存
     */
    private Integer count3 = 0;
    
    /**
     * 7日留存
     */
    private Integer count7 = 0;
    
    /**
     * 30日留存
     */
    private Integer count30 = 0;
    
    /**
     * 创建日期
     */
    private String createDate;
    

    //获取主键值
    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
